<%--
  Created by IntelliJ IDEA.
  User: zhy
  Date: 2021/4/29
  Time: 21:09
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<!-- ==========Header-Section========== -->
<header class="header-section">
    <div class="container">
        <div class="header-wrapper">
            <div class="logo">
                <a href="index.html">
                    <img src="./../imgs/images/logo/logo.png" alt="logo">
                </a>
            </div>
            <ul class="menu">
                <li>
                    <a href="${path}/user/toLogin">登录</a>
                </li>
                <li>
                    <a href="#0">首页</a>
                </li>
                <li>
                    <a href="#0">电影列表</a>
                </li>
                <li>
                    <a href="#0">线下活动</a>
                </li>
                <li>
                    <a href="#0">查看订单</a>
                </li>


                <li>
                    <c:if test="${user!=null}">
                        <a>${user.phone}</a>
                        <ul class="submenu">
                            <li>
                                <a href="blog.html">个人中心</a>
                            </li>
                            <li>
                                <a href="blog-details.html">安全退出</a>
                            </li>
                        </ul>
                    </c:if>

                </li>
                <li>
                    <a href="contact.html">联系我们</a>
                </li>
            </ul>
            <div class="header-bar d-lg-none">
                <span></span>
                <span></span>
                <span></span>
            </div>
        </div>
    </div>
</header>
<!-- ==========Header-Section========== -->